/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.wpilibj.templates.subsystems;

import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.RobotMap;

/**
 *
 * @author Developer
 */
public class Pneumatics extends Subsystem {
    // Put methods for controlling this subsystem
    // here. Call these from Commands.

    public void initDefaultCommand() {
        // Set the default command for a subsystem here.
        //setDefaultCommand(new MySpecialCommand());
    }
    public void directionDown()
    {
        RobotMap.directionSolenoid.set(false);
    }
    public void directionUp()
    {
        RobotMap.directionSolenoid.set(true);
    }
    public void open()
    {
        RobotMap.powerSolenoid.set(false);        
    }
    public void close()
    {
        RobotMap.powerSolenoid.set(true);
    }
}
